struct Window * window struct Gadget * gadget ULONG position
LOCATION
In IntuitionBase at offset 7
FUNCTION
Adds a single gadget to a window.
INPUTS
window
Add gadget to this window
gadget
Add this gadget
position
The position to add the gadget in the list of
gadgets already in the window. Use 0 to insert the
gadget before all others or ~0 to append it to the
list.
RESULT
The position where the gadget was really inserted.
NOTES
This just adds the gadget to the list. It will not be visible
until you refresh the window.